//
//  BaseCollectionControllerModel.h
//  MZBasic
//
//  Created by Sings on 2019/9/7.
//

NS_ASSUME_NONNULL_BEGIN
@class BaseCollectionSectionViewModel;

@interface BaseCollectionControllerModel : BaseControllerViewModel

@property (nonatomic, strong, readonly) NSMutableArray<BaseCollectionSectionViewModel *> *sectionArray;

@property (nonatomic, assign, getter=isHeaderRefresh, readonly) BOOL headerRefresh;

@property (nonatomic, assign, getter=isFooterRefresh, readonly) BOOL footerRefresh;

- (void)refreshTableHeaderEnd:(void (^)(void))refreshEnd;

- (void)refreshTableFooterEnd:(void (^)(void))refreshEnd;

// 排序
- (void) oldPath:(NSIndexPath *) path MoveToPath:(NSIndexPath *) newPath;

@end

NS_ASSUME_NONNULL_END
